<div class="work-container">
	<div class="container">
		<div class="row">
			<div class="col-sm-12 work-title wow fadeIn">
				<h2>Our Latest Work</h2>
			</div>
		</div>
		<div class="row">
			<?php $args = array(
				'posts_per_page'   => 4,
				'offset'           => 0,
				'category_name'    => 'latest work',
				'orderby'          => 'post_date',
				'order'            => 'ASC',
				'post_type'        => 'post',
				'post_status'      => 'publish',
				'suppress_filters' => true
			);

			$posts = get_posts($args);

			foreach ($posts as $post) : setup_postdata($post); ?>
				<?php $url = wp_get_attachment_url(get_post_thumbnail_id($post->ID));?>
				<div class="col-sm-3">
					<div class="work wow fadeInUp">
						<img src="<?php echo $url; ?>" alt="Lorem Website" data-at2x="<?php echo $url; ?>">
						<h3><?php the_title(); ?></h3>
						<p><?php echo get_post_field('post_content', $post->ID); ?></p>
						<div class="work-bottom">
							<a class="big-link-2 view-work" href="<?php echo $url; ?>"><i class="fa fa-search"></i></a>
							<a class="big-link-2" href="portfolio.html"><i class="fa fa-link"></i></a>
						</div>
					</div>
				</div>
			<?php
			endforeach;
			wp_reset_postdata();
			?>
		</div>
	</div>
</div>